<template>
  <div class="my-tab-pane-label">
    <!--    圆形-->
    <div class="my-tab-pane-prefix">
      {{ prefixNum }}
    </div>
    <div class="my-tab-pane-content">
      {{ content }}
    </div>
    <div class="my-tab-pane-suffix">
      <i class="el-icon-arrow-right"></i>
    </div>
  </div>
</template>

<script>
export default {
  name: 'MyTabPaneLabel',
  props: {
    prefixNum: {
      required: true
    },
    content: {
      required: true
    }
  }
}
</script>

<style scoped lang="scss">
.my-tab-pane-label {
  display: flex;
  min-width: 150px;
  justify-content: center;
  align-items: center;

  .my-tab-pane-prefix {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background-color: rgb(27, 154, 238);
    color: white;
  }

  .my-tab-pane-content {
    margin: 0 15px;
  }
}

</style>
